package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据库产品对象 sys_db_product
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public class SysDbProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Long dbId;

    /** 数据库名称 */
    @Excel(name = "数据库名称")
    private String dbName;

    /** 图标 */
    @Excel(name = "图标")
    private String dbIcon;

    /** 类型（1关系型 2非关系型 3单机 4分布式，可组合如1、3） */
    @Excel(name = "类型", readConverterExp = "1=关系型,2=非关系型,3=单机,4=分布式，可组合如1、3")
    private String dbType;

    /** 数据库描述 */
    @Excel(name = "数据库描述")
    private String dbDescription;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDbId(Long dbId) 
    {
        this.dbId = dbId;
    }

    public Long getDbId() 
    {
        return dbId;
    }

    public void setDbName(String dbName) 
    {
        this.dbName = dbName;
    }

    public String getDbName() 
    {
        return dbName;
    }

    public void setDbIcon(String dbIcon) 
    {
        this.dbIcon = dbIcon;
    }

    public String getDbIcon() 
    {
        return dbIcon;
    }

    public void setDbType(String dbType) 
    {
        this.dbType = dbType;
    }

    public String getDbType() 
    {
        return dbType;
    }

    public void setDbDescription(String dbDescription) 
    {
        this.dbDescription = dbDescription;
    }

    public String getDbDescription() 
    {
        return dbDescription;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dbId", getDbId())
            .append("dbName", getDbName())
            .append("dbIcon", getDbIcon())
            .append("dbType", getDbType())
            .append("dbDescription", getDbDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
